<?php

namespace App\Http\Controllers\Front;

use App\Interfaces\UserViewHistoryService;
use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class MyViewHistoryController extends Controller
{

    public function index(UserViewHistoryService $userViewHistoryService)
    {
        $viewHistory = $userViewHistoryService->getByDayGroupPaginate();
        return view('front.my.view_history',compact(['viewHistory']));
    }


}
